C1.LiveLinq Namespace > LiveViewExtensions Class > AsLive Method : AsLive<T>(IBindingList) Method |
'Declaration
Public Overloads Shared Function AsLive(Of T)( _ ByVal source As System.ComponentModel.IBindingList _ ) As View(Of T)
Use this method to build views from existing data sources. The only requirements for the data source is that it implements the standard data binding interface System.ComponentModel.IBindingList.
The resulting view may have its elements ordered differently than they are ordered in the source collection. Correspondingly, views built on this resulting view (for example, if you filter it with Where) will not preserve the source order either. If you need to preserve the source order, consider using the other AsLive overload where you can specify to what extent you need the order to be preserved.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2